﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Calculator._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    
    
    <h2>
        Calculator</h2>
    <p>
        <asp:TextBox ID="txtInput" runat="server" Width="243px" Enabled="False" 
            TextMode="MultiLine" Rows="5"></asp:TextBox>
    </p>
    <p>
        <table style="width: 300px;">
            <tr>
                <td>
                    <asp:Button ID="btn1" runat="server" Text="1" onclick="btn1_Click" 
                        Width="30px" />
                </td>
                <td>
                    <asp:Button ID="btn2" runat="server" Text="2" onclick="btn2_Click" 
                        Width="30px" />
                </td>
                <td>
                    <asp:Button ID="btn3" runat="server" Text="3" onclick="btn3_Click" 
                        Width="30px" />
                </td>
                 <td>
                    
                     <asp:Button ID="btnSum" runat="server" Text="+" onclick="btnSum_Click" 
                         Width="30px" Height="26px" />
                    
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn4" runat="server" Text="4" onclick="btn4_Click" 
                        Width="30px" />
                </td>
                <td>
                    <asp:Button ID="btn5" runat="server" Text="5" onclick="btn5_Click" 
                        Width="30px" />
                </td>
                <td>
                    <asp:Button ID="btn6" runat="server" Text="6" onclick="btn6_Click" 
                        Width="30px" />
                </td>
                 <td>
                    
                     <asp:Button ID="btnMinus" runat="server" Text="-" onclick="btnMinus_Click" 
                         style="height: 26px" Width="30px" />
                    
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn7" runat="server" Text="7" onclick="btn7_Click" 
                        Width="30px" />
                </td>
                <td>
                    <asp:Button ID="btn8" runat="server" Text="8" onclick="btn8_Click" 
                        Width="30px" />
                </td>
                <td>
                    <asp:Button ID="btn9" runat="server" Text="9" onclick="btn9_Click" 
                        Width="30px" />
                </td>
                <td>
                    
                    <asp:Button ID="btnMulti" runat="server" Text="*" onclick="btnMulti_Click" 
                        Width="30px" />
                    
                </td>
            </tr>
             <tr>
                <td>
                    <asp:Button ID="btn0" runat="server" onclick="btn0_Click" Text="0" 
                        Width="30px" />
                 </td>
                <td>
                    <asp:Button ID="btnDot" runat="server" onclick="btnDot_Click" Text="." 
                        Width="30px" />
                 </td>
                <td>
                    <asp:Button ID="btnEqual" runat="server" onclick="btnEqual_Click" Text="=" 
                        Width="30px" />
                 </td>
                <td>

                    <asp:Button ID="btnDivien" runat="server" onclick="btnDivien_Click" Text="/" 
                        Width="30px" />

                </td>
            </tr>
        </table>
    </p>
 
    </asp:Content>
